﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;

namespace T.FAS.Runtime.Base.Entity
{
    /// <summary>
    /// 数据类型
    /// </summary>
    public enum DataType
    {
        /// <summary>
        /// 二进制
        /// </summary>
        Binary = 0,
        /// <summary>
        /// ture or false
        /// </summary>
        Boolean = 1, 
        /// <summary>
        /// 0
        /// </summary>
        Int = 2, 
        /// <summary>
        /// 0
        /// </summary>
        Long = 3,
        /// <summary>
        /// 0.0
        /// </summary>
        Decimal = 4,
        /// <summary>
        /// 1900-01-01 00:00:00
        /// </summary>
        DateTime = 5, 
        /// <summary>
        /// 时间戳
        /// </summary>
        Timestamp = 6,
        /// <summary>
        /// 1900-01-01
        /// </summary>
        Date = 7,
        /// <summary>
        /// 00:00:00
        /// </summary>
        Time = 8, 
        /// <summary>
        /// 字符串
        /// </summary>
        String = 9,
        /// <summary>
        /// 复杂对象-单个
        /// </summary>
        Record = 10,
        /// <summary>
        /// 数据集合-多个
        /// </summary>
        List = 11
    }
}
